package googlecode;

/**************************************************************
* This file is part of jGimme.
* 
* jGimme is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* jGimme is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with jGimme.  If not, see <http://www.gnu.org/licenses/>.
***************************************************************/

/**************************************************************
* Class jGimme
* @author Jeff Thomas
* @version 0.0.1
* Date Original: 04.09.2008
* Date Modified: 04.09.2008
* Copyright 2008, jGimme
***************************************************************/

public class jGimme
{
/**************************************************************
* Calculate Differential
* @param score - Score from course
* @param rating - Course Rating
* @param slope - Course Slope
* @return - Differential from course
***************************************************************/	
	public static double calcDifferential(int score, double rating, double slope)
	{
		return ((rating - score) * 113) / slope;
	}
/**************************************************************
*
***************************************************************/
	public static double calcHandicap()
	{
		return 0.0;
	}
}
